package cn.aiyuan.entity.account;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @className AssociatedRoleDTO
 * @date 2019-12-30 10:42
 */
@Data
@ApiModel(value = "关联角色", description = "用户管理关联角色")
@AllArgsConstructor
public class AssociatedRoleDTO implements Serializable {

	private static final long serialVersionUID = 1223243230404686105L;

	@ApiModelProperty(value = "用户id", required = true)
	private Long accId;

	@ApiModelProperty(value = "角色id", required = true)
	private List<Long> roleList;

}
